<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>明刻</title>
		<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
		<link rel="stylesheet" href="../style/ext/bower_components/bootstrap/dist/css/bootstrap.min.css">
		<link rel="stylesheet" href="../style/ext/bower_components/font-awesome/css/font-awesome.min.css">
		<link rel="stylesheet" href="../style/ext/bower_components/Ionicons/css/ionicons.min.css">
		<link rel="stylesheet" href="../style/ext/bower_components/select2/dist/css/select2.min.css">
		<link rel="stylesheet" href="../style/ext/dist/css/AdminLTE.min.css">
		<link rel="stylesheet" href="../style/ext/dist/css/skins/skin-blue.min.css">
	</head>

	<body class="hold-transition skin-blue sidebar-mini" ng-app="blog" ng-controller="configController" ng-init="editInit()">
		<section class="content-header">
			<h1>系统<small>设置</small></h1>
			<ol class="breadcrumb">
				<li><a href="home.jsp"><i class="fa fa-dashboard"></i> 首页</a></li>
				<li class="active">系统设置</li>
			</ol>
		</section>

		<!-- Main content -->
		<section class="content">
			<div class="row">
				<form>
					<div class="col-md-12">
						<div class="box box-success">
							<div class="box-header">
								<h3 class="box-title">系统信息<small>Basic information</small></h3>
								<div class="pull-right box-tools">
									<button type="button" class="btn btn-success btn-sm" data-widget="collapse" data-toggle="tooltip" title="Collapse">
										<i class="fa fa-minus"></i></button>
								</div>
							</div>
							<div class="box-body">
								<div class="form-group">
									<label>首页展示分类数量最多数量：</label>
									<input ng-model="config.home_category_number" type="text" class="form-control" >
								</div>
								<div class="form-group">
									<label>首页展示分类下的文章最多数量：</label>
									<input ng-model="config.home_chapter_number" type="text" class="form-control" >
								</div>
								<div class="form-group">
									<label>首页推荐文章最多数量：</label>
									<input ng-model="config.home_commend_chapter_number" type="text" class="form-control" >
								</div>
								<div class="form-group">
									<label>版权声明：</label>
									<input ng-model="config.record" type="text" class="form-control">
								</div>
								<td style="border-width: 0px;">
									<button ng-click="batchEdit()" type="button" class="btn btn-block btn-success">
										<font style="vertical-align: inherit;">保存</font>
									</button>
								</td>
							</div>
						</div>
					</div>
				</form>
			</div>
			<!-- /.row -->
		</section>
		<!-- /.content -->


		<!-- jQuery 3 -->
		<script src="../style/ext/bower_components/jquery/dist/jquery.min.js"></script>
		<!-- Bootstrap 3.3.7 -->
		<script src="../style/ext/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
		<!-- AdminLTE App -->
		<script src="../style/ext/dist/js/adminlte.min.js"></script>


		<script src="../style/js/angular.min.js"></script>
		<script src="../style/js/base.js"></script>
		<script src="../style/js/service/baseService.js"></script>
		<script src="../style/js/service/configService.js"></script>
		<script src="../style/js/controller/baseController.js"></script>
		<script src="../style/js/controller/configController.js"></script>
	</body>
</html>
